//package com.lmx.repoDomain.model;
//
//import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
//import io.katharsis.resource.annotations.JsonApiId;
//
//import javax.persistence.*;
//
//@MappedSuperclass
//@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler"})
//public class BaseDataEntity implements Identifiable {
//
//	private Long id;
//	private Integer errcode;
////	private String code;
//	private Short delStatus; // 删除状态  0 未删除  1 已删除
//
////    //huibati
////    private String tenantId;  //租户id
////    
////    @Column(name = "tenantId")
////    public String getTenantId() {
////        return tenantId;
////    }
////
////    public void setTenantId(String tenantId) {
////        this.tenantId = tenantId;
////    }	
////    
//	@JsonApiId
//	@Id
//	@GeneratedValue(strategy = GenerationType.AUTO)
//	@Override
//	public Long getId() {
//		return id;
//	}
//
//	public void setId(Long id) {
//		this.id = id;
//	}
//
//	@Transient
//	public Integer getErrcode() {
//		return errcode;
//	}
//
//	public void setErrcode(Integer errcode) {
//		this.errcode = errcode;
//	}
//
//	@Column(name = "del_status",columnDefinition = "smallint default 0 COMMENT '删除状态'")
//	public Short getDelStatus() {
//		return delStatus;
//	}
//
//	public void setDelStatus(Short delStatus) {
//		if (delStatus == null) delStatus = 0;
//		this.delStatus = delStatus;
//	}
//}
